package oop6;

/**
 * @author oldliu
 * @since 1.0
 */
public class SmartDoor extends Door implements Lock,TakePhoto {
    @Override
    public void lockUp() {
        System.out.println(super.getBrand() + "锁上了");
    }

    @Override
    public void openLock() {
        System.out.println(super.getBrand() + "开锁了");
    }

    @Override
    public void takePhoto() {
        System.out.println(super.getBrand() + "把门口的访客拍了一张照片，保存了一下");
    }

}